<script>

    $(document).ready(function() {
        var today = new Date();
        var currentDay = today.format("yyyy-MM-dd");

        $('#calendar').fullCalendar({
            header: {
                left: 'title',
                center: '',
                right: ''
                //left: 'prev,next today',
                //center: 'title',
                //right: 'month,agendaWeek,agendaDay,listWeek'
            },
            defaultDate: currentDay,
            navLinks: true, // can click day/week names to navigate views
            editable: true,
            eventLimit: true, // allow "more" link when too many events
            events: [
                {
                    title: '资料提交',
                    start: '2018-12-01',
                },
                {
                    title: '资料提交',
                    start: '2018-12-07',
                    end: '2018-12-10'
                },
                {
                    id: 999,
                    title: '资料提交',
                    start: '2018-12-09T16:00:00'
                },
                {
                    id: 999,
                    title: '资料提交',
                    start: '2018-12-16T16:00:00'
                },
                {
                    title: '资料提交',
                    start: '2018-12-11',
                    end: '2018-12-13'
                },
                {
                    title: '资料提交',
                    start: '2018-12-12T10:30:00',
                    end: '2018-12-12T12:30:00'
                },
                {
                    title: '资料提交',
                    start: '2018-12-12T12:00:00'
                },
                {
                    title: '资料提交',
                    start: '2018-12-12T14:30:00'
                },
                {
                    title: '资料提交',
                    start: '2018-12-12T17:30:00'
                },
                {
                    title: '资料提交',
                    start: '2018-12-12T20:00:00'
                },
                {
                    title: '资料提交',
                    start: '2018-12-13T07:00:00'
                },
                {
                    title: '资料提交',
                    url: 'http://google.com/',
                    start: '2018-12-28'
                }
            ]
        });

    });

</script>
<style>

    #calendar {
        max-width: 900px;
        margin: 0 auto;
    }

</style>
<div class="panel">
    <div class="panel-body">
        <div id='calendar'></div>
    </div>
</div>